package com.jt.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

@Controller
public class IndexController {
	/*跳转页面 用restFul语法
	*
	*
	*	type="get" 查询
	* post 新增操作
	* put 更新
	* DELETE 删除
	* */
//	@RequestMapping(value = "/page/{moduleName}",method = RequestMethod.GET)
	@GetMapping("/page/{moduleName}")
//	@DeleteMapping
//	@PutMapping
//	@PostMapping
	public String module(@PathVariable String moduleName) {
		
		return moduleName;
	}
}
